package cn.xllyd.repository;

import cn.xllyd.doc.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface UserRepository extends ElasticsearchRepository<User,String> {
    List<User> findUserByName(String name);
}